class QueryParamsErrorException(Exception):
	code = 30001
	msg = "请求参数错误"

class NotAllowedOptionException(Exception):
	code = 30002
	msg = "不允许此操作"

class UploadFileErrorException(Exception):
	code = 30003
	msg = "上传文件错误"


class LoginErrorException(Exception):
	code = 40001
	msg = "账号或密码错误"
	
class AccountPasswordErrorException(Exception):
	code = 40002
	msg = "账号或密码不合法"
	
class AuthenticationErrorException(Exception):
	code = 40003
	msg = "用户未登录"

class UserDuplicateErrorException(Exception):
	code = 40004
	msg = "用户已存在"

class UserNotExistsErrorException(Exception):
	code = 40005
	msg = "用户不存在"

class UnknownErrorException(Exception):
	code = 55555
	msg = "未知错误"